\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f2\b0\i0\ul0\fs28 Speaker Listener parameters port rights\
\
Q: Why doesn't msgwrap let me declare a parameter as type (port_t) or (port_t *)? I thought Speaker/Listener was designed to let me pass around port send and receive rights easily.\
\
A: You need to declare the parameters as (port_t_send) and (port_t_send *) respectively, IN THE .MSG FILE ONLY. Keep your method parameters set to (port_t). Of course, if you are giving or taking port receive rights, your .msg file should have (port_t_rcv) or (port_t_rcv *). Don't forget to use port_deallocate() when you're done using a port!\